package myboot.myblog.utils;

import lombok.Data;

/**
 * 分页查询参数
 * @author hujh
 */
@Data
public class PageQueryUtil {
    //当前页码
    private int currentPage;
    //每页大小
    private int limit;
    //排序字段
    private String order;
    //开始条数
    private int start;
    //查询关键字
    private String keyword;
    //排序字段
    private String str;

    public PageQueryUtil(int currentPage, int limit, String order, int start, String keyword, String str) {
        this.currentPage = currentPage;
        this.limit = limit;
        this.order = order;
        this.start = start;
        this.keyword = keyword;
        this.str = str;
    }
}
